-- GENERATED SPELL FOR [Deliana] --


function spell0_16013(pUnit, Event) --@Fireball,n/a--
pUnit:FullCastSpellOnTarget(15228,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_16013', 3000, 1)
end

function Sorts_16013(pUnit, Event)
local choix_sorts_16013 = math.random(0, 0)
if choix_sorts_16013 == 0 then
pUnit:RegisterEvent('spell0_16013', 1, 1)
end
end

function mob16013_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_16013', math.random(1500, 3000), 1)
end

function mob16013_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16013_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16013_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(16013, 1, 'mob16013_Action')
RegisterUnitEvent(16013, 2, 'mob16013_Leave')
RegisterUnitEvent(16013, 3, 'mob16013_Kill')
RegisterUnitEvent(16013, 4, 'mob16013_Die')
